#include <iostream>
#include <ostream>

#include <png.hpp>

int
main(int argc, char* argv[])
try
{
	png::image< png::gray_pixel > image("input.png");
	image.write("output.png"); 
}
catch (std::exception const& error)
{
    std::cerr << "dump: " << error.what() << std::endl;
    return EXIT_FAILURE;
}
